//
//  UIColor+Category.m
//  YLB
//
//  Created by Zoo Chow on 14/02/2017.
//  Copyright © 2017 Zoo. All rights reserved.
//

#import "UIColor+Category.h"

@implementation UIColor (Category)

+ (UIColor *)mainToneColor {
    return UIColorFromRGB(0x528dff);
}

+ (UIColor *)auxiliaryColor {
    return UIColorFromRGB(0x528dff);
}

+ (UIColor *)bottomColor {
    return UIColorFromRGB(0xefeff4);
}

+ (UIColor *)tangerineColor {
    return UIColorFromRGB(0xff7e7e);
}

+ (UIColor *)KraftpaperColor {
    return UIColorFromRGB(0xe2cbad);
}

+ (UIColor *)diamondBlueColor {
    return UIColorFromRGB(0x1a9dff);
}

+ (UIColor *)randomColor {
    NSArray * colors = @[UIColorFromRGB(0x1abc9c),UIColorFromRGB(0x2ecc71),UIColorFromRGB(0x3498db),UIColorFromRGB(0x9b59b6),UIColorFromRGB(0x34495e),UIColorFromRGB(0xf39c12),UIColorFromRGB(0xe67e22),UIColorFromRGB(0xc0392b),];
    NSInteger index = arc4random()%[colors count];
    return [colors objectAtIndex:index];
}

+ (UIColor *)tableSeparatorColor {
    return UIColorFromRGB(0xC8C7CC);
}

+ (UIColor *)selectedColor {
    return UIColorFromRGB(0xD9D9D9);
}

@end
